<template>
	<view class="container">
		<!-- 钻机管理 -->
		<block v-for="(item,index) in drillLinkList" :key="index">
			<view @click="drillToPage(item.routerPath)" class="container-bg z-font-lg u-padding-40 z-b-r u-flex u-row-between u-margin-bottom-20" hover-class="h-class">
				<view class="u-flex u-flex-1">
					<view class="u-margin-right-10"><u-icon :name="item.icon"></u-icon></view>
					<view>{{item.title}}</view>
				</view>
				<view class="u-margin-right-10"><u-icon name="arrow-right"></u-icon></view>
			</view>
		</block>
	</view>
</template>

<script>
	import {drillLinkList} from "@/common/childRouters.js";
	export default {
		data() {
			return {
				drillLinkList
			}
		},
		methods: {
			drillToPage(url){
				uni.navigateTo({url})
			}
		}
	}
</script>
